#ifdef TEST_PROCESO

#include "../lib/Process.h"
#include <iostream>
#include <cstdlib>

#include <sys/msg.h>
#include <sys/ipc.h>


#include "../lib/MessageQueue.h"


class HolaConcu : public Process {

public:

	int run() {
		std::cout<<"Voy a dormir"<<std::endl;
		sleep(10);
		std::cout<<"Hola mundo Concurrente"<<std::endl;
		return 0;
	}

};

int main( int argc, char** argv ) {

	HolaConcu p;

	p.execute();

	//return 0;
	//exit(0);
	p.exit(0);

	return 1;
}

#endif
